libarchive: Fix a 32 bit format warning
authorColin Walters <walters@verbum.org>
Tue, 23 Feb 2016 01:52:33 +0000 (20:52 -0500)
committerColin Walters <walters@verbum.org>
Tue, 23 Feb 2016 01:52:33 +0000 (20:52 -0500)
This is actually an error by default with our default CFLAGS.

src/libostree/ostree-repo-libarchive.c

index 82c8dd51e0c761e6bc3d1b5d65b8953372c121dd..b21e222c562a4e92e86374f59f97b51930c92de6 100644 (file)
@@ -640,7 +640,7 @@ write_directory_to_libarchive_recurse (OstreeRepo               *self,
                   if (r != bytes_read)
                     {
                       propagate_libarchive_error (error, a);
-                      g_prefix_error (error, "Failed to write %" G_GUINT64_FORMAT " bytes (code %" G_GUINT64_FORMAT"): ", bytes_read, r);
+                      g_prefix_error (error, "Failed to write %" G_GUINT64_FORMAT " bytes (code %" G_GUINT64_FORMAT"): ", (guint64)bytes_read, r);
                       goto out;
                     }
                 }